/**
 * 功能:TK_GOODS_BIG_CLASS Service类
 * 开发人员:chengd
 * 创建时间:2012/10/13 23:41:29
 */
package com.towker.frame.service.basicData;

import org.springframework.stereotype.Service;
import com.towker.core.db.EntityDao;
import com.towker.core.db.BaseService;
import com.towker.frame.model.basicData.GoodsBigClass;
import com.towker.frame.dao.basicData.GoodsBigClassDao;

@Service
public class GoodsBigClassService extends BaseService<GoodsBigClass, java.lang.Long>
{
	private GoodsBigClassDao dao;
	
	public void setGoodsBigClassDao(GoodsBigClassDao dao)
	{
		this.dao = dao;
	}

	@SuppressWarnings("unchecked")
	@Override
	protected EntityDao getEntityDao()
	{
		return this.dao;
	}

	public boolean checkExistsCode(String calss_code, Integer id) {
		return dao.checkExistsCode(calss_code, id);
	}
}
